import Layout from '@/layout'

export default {
  path: '/library',
  name: 'library',
  component: Layout,
  meta: {
    title: '素材库管理',
    icon: 'tree'
  },
  children: [
    {
      path: '',
      name: 'official',
      component: () => import('@/views/library'),
      meta: {
        title: '官方素材管理',
        icon: 'tree'
      }
    },
    {
      path: 'check',
      name: 'check',
      component: () => import('@/views/library/check'),
      meta: {
        title: '素材审核',
        icon: 'tree'
      }
    },
    {
      path: 'source',
      name: 'source',
      component: () => import('@/views/library/source'),
      meta: {
        title: '用户素材管理',
        icon: 'tree'
      }
    }
  ]
}
